<?php
/**
 * Created by PhpStorm.
 * User: dapeng
 * Date: 2019-12-05
 * Time: 10:32
 */



function a(){
    static $a = 10;
    $a++;
    echo $a."<br>";//11
}
a();//11
a();//12
a();//13

